package com.example.demo.bean;

public class QueryInfo {
    //查询信息username
    private String query;

    //第二个查询参数
    private String query1;
    //当前页
    private int pageStart=1;
    //每页最大数
    private int pageSize=1;

    public QueryInfo() {
    }

    public QueryInfo(String query, int pageStart, int pageSize) {
        this.query = query;
        this.pageStart = pageStart;
        this.pageSize = pageSize;
    }

    public QueryInfo(String query, String query1, int pageStart, int pageSize) {
        this.query = query;
        this.query1 = query1;
        this.pageStart = pageStart;
        this.pageSize = pageSize;
    }

    public String getQuery() {
        return query;
    }

    public int getPageStart() {
        return pageStart;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setQuery(String query) {
        this.query = query;
    }

    public void setPageStart(int pageStart) {
        this.pageStart = pageStart;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getQuery1() {
        return query1;
    }

    public void setQuery1(String query1) {
        this.query1 = query1;
    }

    @Override
    public String toString() {
        return "QueryInfo{" +
                "query='" + query + '\'' +
                ", query1='" + query1 + '\'' +
                ", pageStart=" + pageStart +
                ", pageSize=" + pageSize +
                '}';
    }
}
